package com.imooc.service.Impl;

import com.imooc.dao.AreaMapper;
import com.imooc.entity.Area;
import com.imooc.service.AreaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author
 * @create 2018-07-25 11:13
 **/
@Service
public class AreaServiceImpl implements AreaService {

    @Autowired
    private AreaMapper areaMapper;

    public List<Area>  getAreaList(){
        return areaMapper.queryArea();
    }
}
